import http from "@/utils/http";

const newsInter = {
    // 行业资讯——菜单
    getHyzxMenu(data) {
        return http({
            url: "/tianti_module_interface/industryInfo/menu",
            method: "get",
            params: data,
        });
    },
    // 行业资讯——列表
    getHyzxList(data) {
        return http({
            url: "/tianti_module_interface/industryInfo/list",
            method: "get",
            params: data,
        });
    },

    // 行业资讯——详情
    getHyzxDes(data) {
        return http({
            url: "/tianti_module_interface/industryInfo/info",
            method: "get",
            params: data,
        });
    },

    // 企业资质——菜单
    getQyzzMenu(data) {
        return http({
            url: "/tianti_module_interface/enterpriseQualification/menu",
            method: "get",
            params: data,
        });
    },
    // 企业资质——列表
    getQyzzList(data) {
        return http({
            url: "/tianti_module_interface/enterpriseQualification/list",
            method: "get",
            params: data,
        });
    },

    // 企业资质——详情
    getQyzzDes(data) {
        return http({
            url: "/tianti_module_interface/enterpriseQualification/info",
            method: "get",
            params: data,
        });
    },

    // 赛事管理——菜单
    getSsglMenu(data) {
        return http({
            url: "/tianti_module_interface/awardInfoInfo/menu",
            method: "get",
            params: data,
        });
    },
    // 赛事管理——列表
    getSsglList(data) {
        return http({
            url: "/tianti_module_interface/awardInfoInfo/list",
            method: "get",
            params: data,
        });
    },

    // 赛事管理——详情
    getSsglDes(data) {
        return http({
            url: "/tianti_module_interface/awardInfoInfo/info",
            method: "get",
            params: data,
        });
    },

    // 专业培训——菜单
    getZypxMenu(data) {
        return http({
            url: "/tianti_module_interface/professionalTrainingNew/menu",
            method: "get",
            params: data,
        });
    },
    // 专业培训——列表
    getZypxList(data) {
        return http({
            url: "/tianti_module_interface/professionalTrainingNew/list",
            method: "get",
            params: data,
        });
    },

    // 专业培训——详情
    getZypxDes(data) {
        return http({
            url: "/tianti_module_interface/professionalTrainingNew/info",
            method: "get",
            params: data,
        });
    },

    // 会员之窗——菜单
    getHyzcMenu(data) {
        return http({
            url: "/tianti_module_interface/vipWindow/menu",
            method: "get",
            params: data,
        });
    },
    // 会员之窗——列表
    getHyzcList(data) {
        return http({
            url: "/tianti_module_interface/vipWindow/list",
            method: "get",
            params: data,
        });
    },

    // 会员之窗——详情
    getHyzcDes(data) {
        return http({
            url: "/tianti_module_interface/vipWindow/info",
            method: "get",
            params: data,
        });
    },

    // 行业资讯 搜索
    getInfoList(data) {
        return http({
            url: "/tianti_module_interface/industryInfo/listTotal",
            method: "get",
            params: data,
        });
    },

    //地方协会
    getGygxList() {
        return http({
            url: "/tianti_module_interface/gygx/list",
            method: "get",
            params: {},
        });
    },
    //关于我们
    getAoutUsList(data) {
        return http({
            url: "/tianti_module_interface/aboutUs/list",
            method: "post",
            data,
        });
    },
    //会员之窗
    getMemberList(data) {
        return http({
            url: "/tianti_module_interface/vipInfo/list",
            method: "get",
            params: data,
        });
    },
    //会员之窗--详情
    getMemberDes(data) {
        return http({
            url: "/tianti_module_interface/vipInfo/info",
            method: "get",
            params: data,
        });
    },

    //培训资讯
    getTrainList(data) {
        return http({
            url: "/tianti_module_interface/professionalTraining/list",
            method: "get",
            params: data,
        });
    },
    //培训资讯--详情
    getTrainDes(data) {
        return http({
            url: "/tianti_module_interface/professionalTraining/info",
            method: "get",
            params: data,
        });
    },
    //证书查询
    getTrainQuery(data) {
        return http({
            url: "/tianti_module_interface/certificate/getInfo",
            method: "post",
            data,
        });
    },
    //作品展示
    getZuoping(data) {
        return http({
            url: "/tianti_module_interface/videoZone/videoList",
            method: "get",
            data,
        });
    },
    getZuopingImg(data) {
        return http({
            url: "/tianti_module_interface/videoZone/imgList",
            method: "get",
            data,
        });
    },
    getZuopingNavList(data) {
        return http({
            url: "/tianti_module_interface/videoZone/levelTopList",
            method: "get",
            data,
        });
    },
    getZuopingChildList(data) {
        return http({
            url: "/tianti_module_interface/videoZone/levelSecondList",
            method: "get",
            params: data,
        });
    },
    getZuopingChildListVideo(data) {
        return http({
            url: "/tianti_module_interface/videoZone/videoInfoList",
            method: "get",
            params: data,
        });
    },
};

export default newsInter;
